package com.muyu.service.impl;

import com.muyu.entity.LogInfo;
import com.muyu.service.ILogInfoService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @ClassName: ILogInfoServiceImpl
 * @Author: Zirun.Xin
 * @Date: 2025/2/10 18:43
 * @Version: 1.0
 * @Description: 日志信息业务实现层
 */
@Service
public class LogInfoServiceImpl implements ILogInfoService {

    /**
     * 获取日志列表
     * @return 查询内容
     */
    @Override
    public List<LogInfo> list() {
        List<LogInfo> logInfoList = new ArrayList<>();
        logInfoList.add(new LogInfo(1, "内容1", "127.0.0.1", "2025-2-10"));
        logInfoList.add(new LogInfo(2, "内容2", "127.0.0.1", "2025-2-10"));
        return logInfoList;
    }
}
